<?php 
error_reporting (0);
session_start ();
error_reporting (-1);
include ('connect.php');
include ('../functions/levelcheck.php');
if (!isset ($_SESSION ['username']) || IsAdmin ($_SESSION ['username']) == false)
{

	echo '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
	<html><head>
	<title>404 Not Found</title>
	</head><body>
	<h1>Not Found</h1>
	<p>The requested URL ' . $_SERVER ['REQUEST_URI'] . ' was not found on this server.</p>
	<hr>
	' . $_SERVER ['SERVER_SIGNATURE'] . '
	</body></html>';
	die();
}